<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="lib/jquery/jquery.min.js"></script>
		<script src="js/util/validationUtil.js"></script>
		<script src="js/util/commonUtil.js"></script>
		<script src="js/util/WebSocketUtil.js"></script>

	</head>

	<body>
		<input id="date" type="text" />
		<script>
			var wsParams = {
				wsUrl: "ws://127.0.0.1:80/websocket/aaaa",
				debug: true
			};
			var a = new WebSocketUtil(wsParams);
			console.log(a.judgeWebSocketState());
			setTimeout(function() {
				console.log(a.judgeWebSocketState());
				a.sendData(JSON.stringify(wsParams));
			}, 1000);

		</script>
	</body>

</html>